deinitialize

abstract fun deinitialize()

Destroy any GL state needed by the custom layer, and deallocate context, if necessary. Thismethod is called once, from the main thread, at a point when the GL context is active.Note that it may be called even when the `initialize` function has not been called.